package com.hkzhao.reportingsystem.mbg.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class Adminuser implements Serializable {
    @ApiModelProperty(value = "医生和管理人员的token")
    private String tokenId;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "1:代表管理人员 0：代表医护人员")
    private String position;

    private static final long serialVersionUID = 1L;

    public String getTokenId() {
        return tokenId;
    }

    public void setTokenId(String tokenId) {
        this.tokenId = tokenId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", tokenId=").append(tokenId);
        sb.append(", username=").append(username);
        sb.append(", position=").append(position);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}